#pragma once

#include "repo_res.h"
#include "image/image.h"

namespace renderit
{
	namespace messiah
	{
		class repo_res_texture : public repo_res
		{
		public:
			repo_res_texture(repo_item * item, const std::string& dir)
				: repo_res(item, dir)
				, image_(nullptr)
			{

			}

			~repo_res_texture();

		public:
			void load() override;

		public:
			image::image * get_image() { return image_; }

		private:
			image::image * image_;
		};
	}
}